]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- prepare for macros.build
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 28 Oct 2005 12:22:39 +0000 (12:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-build-macros.spec -> 1.32

rpm-build-macros.spec

index 17992e347f21993a18780173e4af294f0d6233ce..c38136a06d030b100b8ddb1d2534e71e17dcbc94 100644 (file)
@@ -9,12 +9,12 @@ cvs tag -F AC-branch rpm-macros.spec
 # - move macros.pld to /usr/lib/rpm, but first need to change rpmmrc
 #   for it to search the macrofile from there.
 # - commit debuginfo.patch to rpm.macros
-%define        rpm_macros_rev  1.251
+%define        rpm_macros_rev  1.253
 Summary:       PLD Linux RPM Macros
 Summary(pl):   Makra RPM dla Linuksa PLD
 Name:          rpm-macros
 Version:       %{rpm_macros_rev}
-Release:       1
+Release:       1.2
 License:       GPL
 Group:         Base
 Source0:       rpm.macros
@@ -26,6 +26,8 @@ Conflicts:    rpm < 4.4.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _rpmlibdir /usr/lib/rpm
+
 %description
 This package contains rpm macros for PLD Linux.
 
@@ -39,21 +41,23 @@ Mo
 rpm-build (byæ mo¿e ten pakiet zostanie w przysz³o¶ci wydzielony).
 
 %prep
-%setup -q -c -T
+%setup -qcT
 install %{SOURCE0} macros.in
 %patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/rpm,%{_rpmlibdir}}
 sed -e '
 # truncate until %%_topdir macro
 1,/^%%_topdir/d
 ' macros.in > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.pld
+cp macros.in $RPM_BUILD_ROOT%{_rpmlibdir}/macros.build
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_sysconfdir}/rpm/*
+#%{_sysconfdir}/rpm/*
+%{_rpmlibdir}/*
This page took 0.281148 seconds and 4 git commands to generate.