mirror of
https://abf.rosa.ru/djam/qt5-macros.git
synced 2025-02-24 01:52:55 +00:00
Use universal macro installation for both RPM 4 and RPM 5
%%install_macro has been added to the RPM 4 package, %%install_macro and %%_rpmacrodir will be added to RPM 5.
This commit is contained in:
parent
366b1ad5a0
commit
483f793363
1 changed files with 3 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
Summary: Base macros for Qt 5
|
||||
Name: qt5-macros
|
||||
Version: 5.6.0
|
||||
Release: 4
|
||||
Release: 5
|
||||
License: LGPLv3+
|
||||
Group: Development/KDE and Qt
|
||||
Url: http://qt-project.org/
|
||||
|
@ -12,7 +12,7 @@ BuildArch: noarch
|
|||
Base macros for Qt 5.
|
||||
|
||||
%files
|
||||
%{_sysconfdir}/rpm/macros.d/qt5.macros
|
||||
%{_rpmmacrodir}/*qt5*
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
@ -21,7 +21,4 @@ Base macros for Qt 5.
|
|||
%build
|
||||
|
||||
%install
|
||||
|
||||
# Install rpm macros
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm/macros.d
|
||||
install -m 0644 %{SOURCE0} %{buildroot}%{_sysconfdir}/rpm/macros.d
|
||||
%install_macro qt5 %{SOURCE0}
|
||||
|
|
Loading…
Add table
Reference in a new issue